.Net Framework > v2.0.50727 > System > IO > BinaryWriter > Write Write(Boolean)
Write(Byte)
Write(Byte[])
Write(Byte[],Int32,Int32)
Write(Char)
Write(Char[])
Write(Char[],Int32,Int32)
Write(Decimal)
Write(Double)
Write(Int16)
Write(Int32)
Write(Int64)
Write(SByte)
Write(Single)
Write(String)
Write(UInt16)
Write(UInt32)
Write(UInt64)


Write(Boolean)

Category
Method
Description
Writes a one-byte Boolean value to the current stream, with 0 representing false and 1 representing true.
Type
void
Character
public
Parameters
NameTypeDescription
valueBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Write(Byte)

Category
Method
Description
Writes an unsigned byte to the current stream and advances the stream position by one byte.
Type
void
Character
public
Parameters
NameTypeDescription
valueByte
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Write(Byte[])

Category
Method
Description
Writes a byte array to the underlying stream.
Type
void
Character
public
Parameters
NameTypeDescription
bufferByte[]
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Write(Byte[],Int32,Int32)

Category
Method
Description
Writes a region of a byte array to the current stream.
Type
void
Character
public
Parameters
NameTypeDescription
bufferByte[]
indexInt32
countInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Write(Char)

Category
Method
Description
Writes a Unicode character to the current stream and advances the current position of the stream in accordance with the Encoding used and the specific characters being written to the stream.
Type
void
Character
public
Parameters
NameTypeDescription
chChar
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Write(Char[])

Category
Method
Description
Writes a character array to the current stream and advances the current position of the stream in accordance with the Encoding used and the specific characters being written to the stream.
Type
void
Character
public
Parameters
NameTypeDescription
charsChar[]
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Write(Char[],Int32,Int32)

Category
Method
Description
Writes a section of a character array to the current stream, and advances the current position of the stream in accordance with the Encoding used and perhaps the specific characters being written to the stream.
Type
void
Character
public
Parameters
NameTypeDescription
charsChar[]
indexInt32
countInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Write(Decimal)

Category
Method
Description
Writes a decimal value to the current stream and advances the stream position by sixteen bytes.
Type
void
Character
public
Parameters
NameTypeDescription
valueDecimal
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Write(Double)

Category
Method
Description
Writes an eight-byte floating-point value to the current stream and advances the stream position by eight bytes.
Type
void
Character
public
Parameters
NameTypeDescription
valueDouble
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Write(Int16)

Category
Method
Description
Writes a two-byte signed integer to the current stream and advances the stream position by two bytes.
Type
void
Character
public
Parameters
NameTypeDescription
valueInt16
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Write(Int32)

Category
Method
Description
Writes a four-byte signed integer to the current stream and advances the stream position by four bytes.
Type
void
Character
public
Parameters
NameTypeDescription
valueInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Write(Int64)

Category
Method
Description
Writes an eight-byte signed integer to the current stream and advances the stream position by eight bytes.
Type
void
Character
public
Parameters
NameTypeDescription
valueInt64
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Write(SByte)

Category
Method
Description
Writes a signed byte to the current stream and advances the stream position by one byte.
Type
void
Character
public
Parameters
NameTypeDescription
valueSByte
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Write(Single)

Category
Method
Description
Writes a four-byte floating-point value to the current stream and advances the stream position by four bytes.
Type
void
Character
public
Parameters
NameTypeDescription
valueSingle
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Write(String)

Category
Method
Description
Writes a length-prefixed string to this stream in the current encoding of the System.IO.BinaryWriter, and advances the current position of the stream in accordance with the encoding used and the specific characters being written to the stream.
Type
void
Character
public
Parameters
NameTypeDescription
valueString
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Write(UInt16)

Category
Method
Description
Writes a two-byte unsigned integer to the current stream and advances the stream position by two bytes.
Type
void
Character
public
Parameters
NameTypeDescription
valueUInt16
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Write(UInt32)

Category
Method
Description
Writes a four-byte unsigned integer to the current stream and advances the stream position by four bytes.
Type
void
Character
public
Parameters
NameTypeDescription
valueUInt32
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Write(UInt64)

Category
Method
Description
Writes an eight-byte unsigned integer to the current stream and advances the stream position by eight bytes.
Type
void
Character
public
Parameters
NameTypeDescription
valueUInt64
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database